/* eslint-disable */
import { getUrlParam } from '@/utils/helper'
import { env } from '../config/env'
// import { env } from '@/config/env'
const ticket = getUrlParam('ticket')
// 入口
export const GET_BASE_INDEX =
    process.env.NODE_ENV === 'production'
        ? `/base/index?ticket=${ticket}`
        : `/base/index`
// 发送邮件
export const POST_MESSAGE_SEND = `/message/send/`

// 收件相关
export const GET_RECEIVE_GETCOUNT = `/receive/getCount`
export const GET_RECEIVE_GETCOUNTNOTREAD = `/receive/getCountNotRead`
export const GET_RECEIVE_GETRECEIVEEMAIL = `/receive/getReceiveEmail`
export const GET_RECEIVE_GETRECEIVEEMAILNOTREAD = `/receive/getReceiveEmailNotRead`
export const GET_RECEIVE_GETCONTENT = `/receive/getContent`
export const GET_RECEIVE_GETALLCOLLECTMAIL = `/receive/getAllCollectMail`
export const POST_RECEIVE_FLUSHREAD = `/receive/flushRead`
export const POST_RECEIVE_DELETE = `/receive/delete`

// 绑定邮箱
export const GET_EMAIL_GETROOTEMAIL = `/email/getRootEmail`
export const GET_EMAIL_JUDGEMAILEFFECTIVENESS = `/email/judgeMailEffectiveness`
export const GET_EMAIL_GETEMAILLIST = `/email/getEmailList`
export const POST_EMAIL_BINDEMAIL = `/email/bindEmail`
export const POST_EMAIL_SWITCHOVEREMAIL = `/email/switchoverEmail`
export const POST_EMAIL_DELETEMAIL = `/email/deleteMail`

// 草稿箱
export const GET_DRAFTS_GETDRAFTS = `/drafts/getDrafts`
export const POST_DRAFTS_PRESERVATION = `/drafts/preservation`
export const POST_DRAFTS_DELETE = `/drafts/delete`

// 收藏
